﻿using System;

namespace SharpOSCAR.Flap
{
    /// <summary>
    /// There are several different frame types, with the most common being the DATA frame.
    /// </summary>
    public enum FLAP__FRAME_TYPE : byte
    {
        /// <summary>
        /// Initialize the FLAP connection
        /// </summary>
        Signon = 1,
        /// <summary>
        /// Messages using the FLAP connection, usually a SNAC message
        /// </summary>
        Data = 2,
        /// <summary>
        /// A FLAP error - rare
        /// </summary>
        Error = 3,
        /// <summary>
        /// Close down the FLAP connection gracefully
        /// </summary>
        Signoff = 4,
        /// <summary>
        /// Send a heartbeat to server to help keep connection open
        /// </summary>
        KeepAlive = 5
    }
}
